#include "Heap.h"

int main()
{
	int a[] = { 70,15,56,25,30,10,33};
	HP ps;
	HPInit(&ps);
	for (int i = 0; i < sizeof(a) / sizeof(int); i++)
	{
		HPPush(&ps, a[i]);
	}

	while (!HPEmpty(&ps))
	{
		printf("%d\n", HPTop(&ps));
		HPPop(&ps);
	}
	HPDestroy(&ps);
	return 0;
}